pixbufutils: Pass calculated height value along
authorTimm Bäder <mail@baedert.org>
Tue, 13 Oct 2020 07:58:40 +0000 (09:58 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 14 Oct 2020 19:06:13 +0000 (15:06 -0400)
gtk/tools/gdkpixbufutils.c

index d1a627c37b3485351205d16b0061340b73bd0b64..1d6eb4feff5661b3afe6edc4b5d530a065916ba5 100644 (file)
@@ -147,7 +147,7 @@ size_prepared_cb2 (GdkPixbufLoader *loader,
       height = scales[1];
     }
 
-  gdk_pixbuf_loader_set_size (loader, width, scales[1]);
+  gdk_pixbuf_loader_set_size (loader, width, height);
 }
 
 GdkPixbuf *